<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <title>Elix Popup</title>

    <link rel="stylesheet" href="demos.css" />
    <script type="module" src="../define/Popup.js"></script>
  </head>

  <body role="main">
    <div class="demo padded">
      <button id="showPopup" onclick="samplePopup.open()">Open popup</button>
      <input type="text" />

      <elix-popup id="samplePopup">
        <div style="padding: 1em;">
          Here's a popup.
        </div>
      </elix-popup>
    </div>
  </body>
</html>
